package org.itboys.basetemplate.entity;

import java.util.Date;

import org.itboys.mongodb.entity.BaseLongIdEntity;
import org.mongodb.morphia.annotations.Entity;
import org.mongodb.morphia.annotations.NotSaved;
/**
 *	提现记录实体类
 * @author Administrator
 *
 */

@Entity(value = "WithdrawRecord", noClassnameStored = true)
public class WithdrawRecord extends BaseLongIdEntity{

	private static final long serialVersionUID = 7183198723462288718L;

	private Long userId; //提现用户
	
	private Double money; //提现金额
	
	private int method; //提现方式	1:银行卡 2:支付宝
	
	private Date createTime; //提现时间
	
	private int status; //提现状态	0：处理中	1:已完成
	
	private int isDeleted = 0;// 逻辑删除 1：无效 0：有效
	
	
	
	@NotSaved
	private String statuss;
	
	@NotSaved
	private String time;
	
	@NotSaved
	private String methods;

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Double getMoney() {
		return money;
	}

	public void setMoney(Double money) {
		this.money = money;
	}

	public int getMethod() {
		return method;
	}

	public void setMethod(int method) {
		this.method = method;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public String getStatuss() {
		return statuss;
	}

	public void setStatuss(String statuss) {
		this.statuss = statuss;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public String getMethods() {
		return methods;
	}

	public void setMethods(String methods) {
		this.methods = methods;
	}
	
	public int getIsDeleted() {
		return isDeleted;
	}

	public void setIsDeleted(int isDeleted) {
		this.isDeleted = isDeleted;
	}

	
}
